package math.geom2d;

import math.base.Point2d;

/**
 * @author Saga
 *
 */
public abstract class BoundedCurve2d extends Curve2d {

    public void setFirstParameter(final double _param) {
        this.firstParam = _param;

    }

    public final double getFirstParameter() {
        return this.firstParam;
    }

    public void setLastParameter(final double _param) {
        this.lastParam = _param;
    }

    public final double getLastParameter() {
        return this.lastParam;
    }

    public final Point2d getFirstPoint() {
        return this.firstPt;
    }

    public final Point2d getLastPoint() {
        return this.lastPt;
    }

    protected double firstParam;
    protected double lastParam;
    protected Point2d firstPt;
    protected Point2d lastPt;
}
